Add genericised forEach and indexer for FormController