A bit prettier code.