Added helper classes to AlertLayer to make alert layer even MORE
generic!