Refactor "interpreter" factory.