Small library for caching selectors for better performance.