Remove unnecessary static self pointer in engine