using static keyword so this class can be extended successfully

I tried to extend the class but it was complaining due to all the "self" references everywhere.