Added remove function to observed array