Made Depository serializable