port models and methods to api 8.0