Freeblob refactoring