Allow to define mapper module after synced statement

it has to be passed as a block otherwise uninitialized constant is
raised