Slice the read-only view of a Database into a parent class.