checks added, javadoc added.
fixed compile error and performance
deregister added.
added move support for non-hierarchical elements