Added "return null" if model couldn't be saved.