Model.api and Model.server should be class attributes