Adapted the latest modifications to PatentLens