[core/models] Partially satisfy rubocop