Remove unnecessary placeholder and directory.