Realisation all necessary methods (Tests will be added later).