[Command] Use self syntax for class methods