Added PayloadSize class.