Finishing the CMAP basic implementation.