Allowing tuple as pattern argument