Making lookup_attributes as a instance variable specific to defining class