In the following, the method Obtain() works, but the GetAs() method would be neater for callers.
However, I can\'t figure out how to pass an interface as a generic pa