Added in context to aid in garbage cleanup to help reduce memory usage.