Relaxes assert and allows nil params in API. Refs #13.