Use depends decorator instead