guard against RectArray or WrapArray not being defined