Remove superfluous function