Shaft mounted gearmotors