Adds example 2
Modifies link to handle static functions correctly
Changes from try catch to class_exists