Missing cast causing compiler warnings when returning self in in-place operations.