Add multiply method to basic types