Implement in coffee-script. Elegance.