add api documentation for schema events
add ability to unregister listeners
fix api docs