Change parseExtensions to setExtensions

This change allows plugins to specify their own extensions to parse