Some improvements for method validation