Huge performance improvement when using deserialization hooks.