Add entropy functions and friends