We need to override DataFrame#toString explicitly to avoid pulling
content of whole frame.
A simple wrappers for client mode.
Utility method for array prepending.