Added interfaces for testing reasons.