Added function required by tests