Bug fix: not support class type for attribute and parameter