Updated component name extraction in autoloader generation