Added support for type-hinted function arguments