Added multiple types of outputs.