The this keyword context is lost in nested functions.