fix(intents.api): removed duplicate code