Added in .height(fn) and .width(fn) support. Fixes #5915.