Remove object by reference from collections