Added deprecated method signatures for replaced methods.

This ensures that older clients of this API/SPI are
not affected by the changes.