Updated lib with functionalities like getLastPrefixStr