Remove labels as an argument to the base detector class.

actually I can't tell if it does or not after this change...