support camelcase to underscore in resolving class prefix