Fixed php strict problems with install, remove and upgrade components