[5.0] Add instance() to the container contract

That is being used in many places where we only have an instance implementing the interface, so we should make sure this is part of the interface.