Move declaration closer to where it is used
Merge pull request #426 from Dmitry-Me/moveDeclarationCloserToWhereItIsUsed

Move declaration closer to where it is used