Added the required functionality for BZ#864616 - Support setting of entities from Content Specification.