add attributes proxy to class