implementation of attributes and methods inferered from Classes