Hopefully fixing import issues with package for submission to CRAN