Adding instance tagging functionality.