Added method to remove layout items in order to prevent the API user from finding an index if he has the item instance already