Remove rogue function definition in thunder.api