Add closures to place where django can pick them up