Constructor called upon the initiation.