Resolve some notices.