Fix for .new causing undefined method.