Added Preconditons in the wrapper.