Adjusted to not produce messages at E_NOTICE level