Added a setter for restriction interfaces.
More implementation for YAMLDataSource