Change 'self' keyword to 'static'

Hi. I propose changing 'self' keyword to 'static' to make it possible to subclass this class