Make code a little more swifty.