Initialize some variables in the constructor