AttributeConfigurator generateAttribute function + TypeConfigurator correction (minor)