Removed the recursive extend