Fixed determining the necessary arguments for callable functions