Fix constructor

Classmap param was not used unlike other parameters in AutoDiscover constructor.