Changed visitor to handle more types of decls