Switched to new swift syntax.