Removes static modifier when it is not necessary