Use __invoke() instead of ->value, optimize lookup for string and number.