added a way to define default extensions on a builder