Allow model to be exposed in factory blocks.