Refactor createBookmark2.