Refactored currency package.