Rewriting to load objection dynamically