deriving imports from parameter types