Adding misc. DC functions.

Signed-off-by: Jacob Buysse <Jacob.Buysse@gmail.com>