Working on string magic method and proper setTypes