Added return mode to raw the method.