[FIX] Better typing for inline functions.
Merge pull request #824 from LeoWoerteler/fitem-typing

[FIX] Better typing for inline functions.