I thought I could get around that by wrapping them in a function? I guess my understanding of closures isn't as good as I thought. :(