Fixes features

Fixes property defining and removing
Defining and removing properties is now recordable and undoable as well.