Resolved derived type errors described in #8