Support adding indexes to models