Moved generation transaction outputs code to Outputs.cs.