Add _extension() helper

@Suor: Why is this necessary?