protected function setSubtypeClasses()
{
add_subtype("object", "plugin", "ElggPlugin");
add_subtype("object", "file", "ElggFile");
add_subtype("object", "widget", "ElggWidget");
add_subtype("object", "comment", "ElggComment");
add_subtype("object", "elgg_upgrade", 'ElggUpgrade');
}