Clean up capability schema