Use reflection to get NMS/OBC dependencies. Closes #7.