Moved admin_notices hook into the hooks file