add back opts defaults
fix up aliasFunctions transformer