Moved NSValue unwrapping into separate category (#165)