Removed unnecessary parameter.
Removed unnecessary accept method call.