Command as class,fix tab completion with arguments