Replace self:: with static::
Merge pull request #16 from bjornpost/late-static-binding

Added late static binding support