remove double defined method
add diagnostic apis
Merge pull request #16 from sabottenda/diagnostic

Add Diagnostic methods