Changed motor operations to methods instead of attributes