Replace deprecated source syntax

Not a huge improvement, but something I thought I'd contribute as no one likes deprecation warnings.