Account for undefined before/afterListeners
Merge pull request #490 from fabien/feature/deep-remoting

Account for undefined before/afterListeners