Compacted initializing of status struct.