Cache selectors to improve performance

C'mon Leon, wasn't this obvious?