Fixed. Added properties, ref, and auto to function returns.