Removing duplicate function call.