Added some extra functions from the practical concepts class.