Added scope, restriction and permission information to module_class_list and module_class_field_list output.