Declared previously unresolved variable 'self'
Merge pull request #451 from veelen/master

 Declared previously unresolved variable 'self'