Fix broken explicit-model (shared-model) form generation