Revert "Added missed function"

This reverts commit 0932b34ad4e2cecc5a796fc3a24d86886762122d.