Dependency update
Make inner class implementSerializable.
 fixes #1