Documented the coroutine loop function and added override support for the coroutine context parameter