Fixed the removal of elements.
Fixed validation for UserClient.