Changed finite classes and added clone implementations.