Miscellaneous warning fixes

Yup. There's a getPrefixPattern in a parent class or interface, and the version here doesn't override.