Remove unused form types. Refer to custom types using strings rather than class instances