Protocol changes for admin functions. Fixing generic DB implementation.