Fixed bug in warning message
Removed support for amotor class of joint