Accessory functions created.