Adds a smart pointer for usage in compilation firewalls