Fixes old API

Inconsistent indentation detected.