Several minor fixes
Removed redundant lines
Add link to warning