[core] Implement pluggable support for item selection