Some experiments in refactoring direct posting format.

NOT REMOTELY FOR MERGE!