Fixing some notices.