Fixed type erasure problem of the remove() method in the SimpleListProperty