Abstracting getting and setting of cached height rather than abstraction of creating the key.