Mix the layers into the target class instead of in a new class.