Move the commands definitions to the class from the instance.