Provides `#when_commited` to run instance-specific code in `#after_commit`