Added support for function inlining