Added basic form functions.