Apply extensions, see #67