Optimized method definition collection.