Removed extra `}` from writers function definition