[BUGFIX] Optimize implementation of CompilableInterface