Added #to_s for some methods
Fixed property assignment