Added some swift syntax sugar