add wrapper methods for data attributes