Add a method to manage association creation.