Refactor asset-pipeline handeling of extensions