Pass data object as  to data module functions instead of as argument.