Add checkstyle checking & fix the code to pass it.