Added #labels_link to session.
Renamed Serializable#to_xml method for ActiveSupport compatibility