Added missing sorted set functions.