Simplified implementation.