Adds possibility to remove assignments; bug fixes.