Adds messages resource.