Packages refactor. Interface now accepts Object instead of string. SocketMemoryBackend adapted to use the new interface