added ability to use custom class prefix names, useful for when you have a common base class