Moving code outside of cfswitch.