Various style improvements

Signed-off-by: David Lu <dvdlu13@gmail.com>