OK, now I found the detach() function, but i think there is still nicer solution...