Configuration-driven Apex