Fixed TODO $form_meta is never set, this should probably be fixed.