use explicit visibility to optimize a few hot-path function calls