Miscellaneous warning fixes

Yup. There's a getPrefixPattern in a parent class or interface.