Fixed a few notices.