Remove superflous function