Fixed FUnctionReferenceStatement so type() returns correct type
Fixed syntax issue with last commit