Appropriate function access specifiers in Hash.ex