Changes sources parameter of Detach to interface{}