Refactored scoresheet to directives.