Limit max notice size. Fixes #115.