Added documentation for optional and asynchronous validation