Added associations to effect and image models