Make a method callable only once