Issue #1213760 by morningtime and MGN: Fixed undefined property notice when creating nodes. Issue #1222806 by MGN: Fixes capitalization errors.