Document form cleanup