grextras: duplicate set/get into python export macro

This makes all classes get the set/get api from extras.
In the long run-- the duplicated codes needs to go away.