More strict type checks on FormContainer reveal the places where errors actually happen.