Made Database class sealed