Pass mapgen functions directly to 'register on generated'