Made member serializable by implementing Serializable and adding a parameterless constructor.