Enable a few checkstyle checks.

Reviewed at https://reviews.apache.org/r/21753/