Parameters validation added.