[PATCH] Move citations to the end of the document