Cleaned up package documentation and removed legacy functions