Removed error handling as its handled by JS.