Fixed protected values
Removed "clone" method, use class as function.