Dealt with no-attributes-defined case.