Plugin declaration cleanup.