Remove Javadoc's assertion that getCompletions() may return null, but add defensive checks for null anyway, so we encourage implementations not to do so but are still ready for it.