Added support for checking whether a function/method/argument is by reference.