Writing simple syntax extensions in swift