Fixed #62

Improve the error message for required keys not found.