Police Scotland has lifted the major incident declaration after the fire was brought under control.