Setup processing code.