Remove deprecated code in internals. Change-Id: I2c4a97eae1b1989ef3279d184f63fc2ffe45db1d Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>