Inlined function.