fixes issue with command class not being exposed on client