Implement inheritance of data attributes
Optimize data attribute inheritance
Remove unused statement
Add test for primitive data types