Added bookmarking logic.