Added Context to emulate node behaviour.