resolve doorkeeper reference from engine class