Added control rotation parameter.