added deprecation warnings closes #29