Help MSVC to inline some trivial functions