Remove duplication and handles invalid method calls.
Implement tests for Scales DSL