Extensibility optimization

Replaced some usages of "self" by "static" (enhancement suggested by
@cyborgii, see issue #6)