Some changes in motor API