Adding in some pre and post convert hooks.