An attempt to make dialyzer happy.

It still reports an error with has_many_forms though.