Put these method just after `config.model` and for every occurences.