Revised the implementation of edge schemas.