Fixed bug with unsetting injected property