Changed way to define component(@Component -> @Named).