Prepare beans
Remove unused