Better exception for method loading error.
updated all sample definitions