Remove unused ebin function