Remove labels as an argument to the base detector class.

Same as above.