Fix order of document handlers