Add helper for faster element lookup