Replaced param methods by static fields in widgets