Replace hook_forms by Form class.