extend superclasses. only declare setters if the type matches the getter