Added helper to work with mutable collections