Implements some best practices

- Gets rid of trailing whitespace
- Delegates a field to follow the Law of Demeter
- Uses a local variable instead of instance in partial