Minimal solution with warning about copying.