Common functions to work on Fantasy Land compatible structures.