Constructors. DEleted some logs.