methods were not being generated for state __any__