Only use callback if its a function
1.10.1