Renamed examples.
Change init to return an error on failure and nil on success.