Update engine to implement _getCurrent.