Add support for generateInline