added method attributes to types
bug fix on None returns