Sorry, not too sure on how modules work here. I saw the functions didn't need to write notification, but that you used a local here, so I think that using notification.NoticeMaterial will also still work with the plain NoticeMaterial later in the file. Same goes for notification.Notices