Added support for ferns mod.