added support for constants/constructors in function calls