Bugfix: last argument to pcd is optional.