Removed "non-serializable" java warnings in local paradigm.

The problem is saving anonymous functions...