Basic optimizations to client code (% --> &).