Created some getter functions.