component: properly allow for selectors and methods