Refactor: Define command