Add title and subtitle as parameters.