remove some senseless typdefs; remove PrototypeParser

Signed-off-by: anti-freak <antifreak2011@gmail.com>