Misc ES5 inheritance fixes + validation error handling fixes