missing set_defaults method in models