Added support for features and intervals using protocols in core module.