Wrap sub page objects in a callback instead