added inlining in functions defined in common headers