Add support to use ChangeLoggedModel when developing plugins