New, improved wrapping function
Load from memory.
Fixing conflicts