Implement unit.command