Fixed some errors in initialization not calling constructors properly.