Added init caps option to the validate API.