add deprecation warning for node_type parameter

it does not do anything, and I am unsure why it was there.