Trigger custom events at end of process methods

Resolves #17