A less hacky design for . in formulas