Add API doc to marshal
Formatting