Fixed function params bug: added Typed support.