Added compile-time interface checks