Use accessors for w, h