Additional methods for base interfaces.
Version control for the serialized types.
Fixed when querying agents for a specific realm.
Added more validations.
Fixed test cases.
Merge remote-tracking branch 'upstream2/master'