Removed unnecessary adapter.