Refine Database & DatabaseFactory interfaces.