use lean for getEntry, removeEntry is out of API merge test additions