Refactoring anAssociation out.
Merge pull request #351 from herby/snippets-fixes

Refactoring anAssociation out.