fixed bootstrap issue
added deprecations for Unit module