Additional argument checks for function calls