Don't serialize methods by default
Serialize mappings properties (inlucdes classes method)