Removing properties from template