Adding ->nullable() to "template"