Added support for motors and sensors