Removed unused code.
Do not generate component name automatically, so activities will be
considered invisible by default.