Added a missing dependency. Weird, this code was working