Cache the list of methods requiring restart for performance