Fix annotations of fields declared after methods not being defined