minor updated, allowing multi-level model namespace
allowing pre/post events in embedded documents