Implemented self-regsistration of engines.