Added more replace methods
Added GetSingleXYZEntity to code generator