Added proper access levels and default constructors.