Compiler: Removed some obsolete variant code. Changed approach to implementing variant functions. This removes the remnants of the old approach.