Maintain property descriptors when extending a class

Makes it possible for classes to define getters/setters, etc.