Add some functions that should allow inlining.