Add code to capfile.