Adds profile / profileEnd wrappers