Listeners.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
Sanity bugfix

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
More listener implementation.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>