add type alias declarations. closes #9