Compile shemas