Corrected errors in inability to compile due to Database class.