Allow passing title as a parameter.