Functionality to wrap entities and security columns for each entity