added ability for associations to have allowNull