Moved output method setting from transform to __init__ for consistency.