Use depends decorator instead #4943