Changed methods from being serialized as object to asts.

[Delivers #58157726]