Create selector at runtime to silence warnings