Removing bones reference in functions, etc.