Allows the ending "." to be optional.