add support for typedef aliases
fix pointer arguments to functions
add specs for typedefs