Allow indexes on models with multiple primary keys.