Remove Pending Entry stuff from Database classes.

Could combine the DeserializeUint and CHECK_EQ into a single line here.