Support transaction logging on multiple models