Interfacing the library class to hide more implementation details