Add API reference for the Widget base PHP class.
Add <?php ?> blocks in the examples.