Probabilistic Approach to Mechanisms