Changes direction to work better with PHP.

This doesn't reflect couple.js as much, but I feel it does work better
with PHP.