adding Resource and element base classes that were missed by generation