Fixed syntactic deprecation.