fr/c/component_filetype: Added protected define_extensions method