Refactoring the defined_base_methods.rb.
bugfix score methods.