Method replacement examples added.