Implemented support for scaling keys

Closes #100