Implemented different form types.