moved Plugin.register_type to Configurable.register_typ so that Agent can use config_param