Extension hooks and skeleton of phongo, and basic bson implementation

If this is an interface with abstract methods, why do we have implementations earlier in the file?