use sequel reflection method to get associated class instead