Implement liners for Scale and Measurement. Fixes #3