Fix isOutlet field always set to false