Fixed #1768
Add missing API
Stupid Intellij