Add constructor snippet