Adds the allocation class.