Added imperial measurement implementation.