Refactoring success handlers to be more concise.