Changed commands to static methods since there is no need for creating the objects.