avoid redefining the classifier's prototype after instanciation