Dbix class deprecated method warning resolved