Add support for using Py3 annotations in lieu of @inject.