Moved the admin notices hook to the admin class, not needed to load on frontend site stuff.