Add support for singular folder names to legacy mvc classes.