Fixed misc notices.
Fixed notices in plugins.