Added #attributes method to CDQManagedObject