Refactor contact form.