Added stream operators and a method to return the base