Update keys() and values() for BTreeMap based on @Gankro's comments.