Fix #1 by removing deprecated syntax.