Improve error handling with unserialized data, add more phpdoc