Added more base functionality to engine.