LPS-31462 adding messages for references
LPS-31462 Apply new utility method with messaging to data handlers
LPS-31462 Counting entities in the invocation handler