Fixed order in private cloudify methods.
Set output columns in leaf level.
Fixed naming of internal and leaf table naming.