Allow passing keyword parameters to references
Allow mixing positional and keyword arguments
Add improved error handling when parsing params