Added ReferenceError exception
Simplified Hook. Changed evaluate() params order.