Rename access_flags->flags; add method parsing