[refactor] removed generic parameter from Target
fixed Mage.Client build