Alternate implementation that doesn't change the compiler.