bug fix and added 'serialize_name' method. v0.2.3