Added CommandException and general static Command interface.