Sorted out all errors except for __contains__ stuff