Improve coding style

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>