Moves `findClassNames` function into the SC object. NOTE: this method will be made into a debug mode only method in the future as it should not be used in production. Closes #978