Unify code regarding single and double quotes