Added command methods and enhanced validations