Simplifying with isinstance(), renaming to funcform.