Refactoring object class command actions