Update framework.php

1. $instance is static (was $_instance before)
2. A Docblock fix