Some improvements to GLInject.