Add option for deprecation warnings