Add type to level factory