Added missing  legacy engine API method. Fixes #42