Implement reference type.