Add heredoc support