remove uneeded extend.

Allow the container to instantiate and once instantiated set the context
on the instance itself.