FREQUENCIES: Modernize syntax and improve chart support.