Added serialization/unserialization.
Add require.