Added handler to add extensions for libraries