Added convenience methods for Boost serialization.