Added back in compatibility functions for users.

These were accidentally removed in 5429ba42c970e103ac88a58a7ba278a86714abb1