diff --git a/src/main/java/com/hubspot/jinjava/el/ext/JinjavaBeanELResolver.java b/src/main/java/com/hubspot/jinjava/el/ext/JinjavaBeanELResolver.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/hubspot/jinjava/el/ext/JinjavaBeanELResolver.java
+++ b/src/main/java/com/hubspot/jinjava/el/ext/JinjavaBeanELResolver.java
@@ -21,6 +21,7 @@ public class JinjavaBeanELResolver extends BeanELResolver {
       .add("clone")
       .add("hashCode")
       .add("getClass")
+      .add("getDeclaringClass")
       .add("notify")
       .add("notifyAll")
       .add("wait")
also block getDelcaringClass