Fixed some Notices.