Using the library with extensions