Fix unserialize
Added extra export to SOL functions