Fix helpful exceptions for Node v0.11