Remove unnecessary referencing to `this`

Hey :)
I've noticed some places in the code where it isn't really necessary to store `this` in a variable. I've passed current context to `forEach` loops as the second argument just to make things little more readable.