Added functionality to the library