Updated for compatibility with grunt 0.4.