adds form element setType() declarations