Previously it was returning a pointer, which is non-standard for containers, and was leading to ugly dereferencing everywhere.