Would be nice if this was properly documented...