support implements clause in AST type hint