Memoize alerts and convert to helper methods