Added HostPtr, fixed a lot errors when operating in a const member function...