Non macro versions of core selectors

This is extracted from #51