Updated verify callback and added serialize / deserialize functions