Issue is fixed #1532

Actions should be below functions, because we should have a doc block above the function.