Refactored TokenBase to share some functionality between mutable and immutable objects. Tested to make sure stacks work properly.