Add anchor properties to Item
Remove stray whitespace
Add nullOrUndefined utility function