Add style serialization functions to implement