Disallow DynamicInterface in static Range
Disallow StaticInterface in dynamic Range
Remove unneeded function import
StaticInterface.range returns None if not in Range