Added handling of SerialVersionUID to invalidate storage