Made some codes easier to read.