Store callable functions/classes in Django models