Implement na.rm argument (#6)