Added attributes and methods to Process class.