Check nil on keyword ref + make each nstype selector a top level function