If an isolated function doesn't have Message in its classpath, we will never actually need to instantiate that class. This change makes sure we check first.
If an isolated function doesn't have Message in its classpath, we will never actually need to instantiate that class. This change makes sure we check first.