Adding associations() method to Table