Remove Pending Entry stuff from Database classes.

Use ```#if 0 ... #endif``` rather than ```/* */``` to disable code.