Adding datalayer methods to the cms blocks