Verify target type extends from View.

Closes #4.
Add generated warning comment to the top of output files.