Refactor quasiquotes using quasiquotes