Add getCode and getVariables methods back into SerializableClosure
Merge pull request #2385 from jeremeamia/4.0

Add getCode and getVariables methods back into SerializableClosure