Added support for inline functions