Uninlined large function from usage.hpp.

Review: https://reviews.apache.org/r/21829