A laser system , comprising a power supply and control module (102; 310; 608); and a handpiece assembly (104; 305; 406; 615) for laser treating a target surface , the handpiece assembly (104; 305; 406; 615) comprising: a cable connector (108; 202; 302; 410; 504; 616) that is detachably coupled to the power supply and control module (102; 310; 608), the cable connector (108; 202; 302; 410; 504; 616) being configured to receive power and control signals from the power supply and control module (102; 310; 608); a laser module (110; 206; 306; 412) configured to receive the power and control signals from the cable connector (108; 202; 302; 410; 504; 616) and to generate electromagnetic energy based on the received power and control signals; a handpiece (114; 208; 308; 420) configured to receive the electromagnetic energy from the laser module (110; 206; 306; 412) and to direct the electromagnetic energy to the target surface ; the laser module (110; 206; 306; 412) being a replaceable module that is configured to be detachably coupled to the cable connector (108; 202; 302; 410; 504; 616) and the handpiece (114; 208; 308; 420) to allow the laser module to be removed from the handpiece assembly (104; 305; 406; 615), the replaceable module allowing a particular laser module to be removed from the handpiece assembly and replaced with another laser module; and the laser module (110; 206; 306; 412) including an electronic identifier, the electronic identifier including information about the type of laser included in the laser module (110; 206; 306; 412); wherein the laser system is configured to transmit the electronic identifier to the power supply and control module (102; 310; 608) and to trigger safeguards within the power supply and control module (102; 310; 608) to protect the laser module (110; 206; 306; 412) by transmitting the identifier to the power supply and control module (110; 206; 306; 412). a cable connector (108; 202; 302; 410; 504; 616) that is detachably coupled to the power supply and control module (102; 310; 608), the cable connector (108; 202; 302; 410; 504; 616) being configured to receive power and control signals from the power supply and control module (102; 310; 608); a laser module (110; 206; 306; 412) configured to receive the power and control signals from the cable connector (108; 202; 302; 410; 504; 616) and to generate electromagnetic energy based on the received power and control signals; a handpiece (114; 208; 308; 420) configured to receive the electromagnetic energy from the laser module (110; 206; 306; 412) and to direct the electromagnetic energy to the target surface ; the laser module (110; 206; 306; 412) being a replaceable module that is configured to be detachably coupled to the cable connector (108; 202; 302; 410; 504; 616) and the handpiece (114; 208; 308; 420) to allow the laser module to be removed from the handpiece assembly (104; 305; 406; 615), the replaceable module allowing a particular laser module to be removed from the handpiece assembly and replaced with another laser module; and the laser module (110; 206; 306; 412) including an electronic identifier, the electronic identifier including information about the type of laser included in the laser module (110; 206; 306; 412); wherein the laser system is configured to transmit the electronic identifier to the power supply and control module (102; 310; 608) and to trigger safeguards within the power supply and control module (102; 310; 608) to protect the laser module (110; 206; 306; 412) by transmitting the identifier to the power supply and control module (110; 206; 306; 412). <EOS>