allow to define permanentMessage directly on models