Replace removed function.