Simplify code for registering scales from props