Removed lastDetachment, see #211