Changed and added some more constructors in favor of serialization.