Restored internal {algorithm} environment.