Add support for models with a log link