Please, put this function to CZ.Authoring module.