added objective serialization
fixed return type of load methods in events
fixed return type of load methods in conditions