Changed code formatting

To make better API documentation