Remove deprecated methods.

Remove deprecated method from rendering engine.
Check that build is successful and tests green