Fixing return value of Engine so Engine.init() can be called