Use the OutputInterface for output and return error codes.