Move alert utility functions to autoloadable utility class