You should also return here - otherwise we'll emit the (undefined) message on the line below.