Fix for ignoring functions